package org.me.nyx.domain;

import java.util.ArrayList;
import java.util.Observable;

public class Movie extends Observable {
	public static ArrayList<Movie> list = new ArrayList<Movie>();

    public Movie(String name){
		this.name = name;
	}

    public int getId() {
		return name.hashCode();
    }

    private String name;
    public String getName() {
		return name;
    }

    public void setName(String name) {
		this.name = name;
    }

	private String description;
    public String getDescription() {
		return description;
    }

    public void setDescription(String description) {
		this.description = description;
    }

	private double rating;
    public double getRating() {
		return rating;
    }

    public void setRating(double rating) {
		this.rating = rating;
    }
}
